package com.jp.boot.service;

import cn.hutool.core.util.RandomUtil;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
public class WebService {


    @Value("${test.name:}")
    private String name;

    public String randomString() {
        return "Hello";
    }

    public String getName() {
        return name;
    }

    public String getWebData(Integer data) {
        return RandomUtil.randomString(9);
    }
}
